package suzf.top.goodscenter.data.api

import suzf.top.goodscenter.data.protocol.Category
import retrofit2.http.Body
import retrofit2.http.POST
import rx.Observable
import suzf.top.base.data.protocol.BaseResp
import suzf.top.goodscenter.data.protocol.GetCategoryReq

/**
 *  商品分类接口
 *========================
 * Created with AndroidStudio
 * Author:Mr.Su
 * Date:2019-09-24
 * Time:13:13
 * ========================
 */
interface CategoryApi {

    @POST("category/getCategory")
    fun getCategory(@Body req: GetCategoryReq): Observable<BaseResp<MutableList<Category>?>>
}